package com.bd.scm.domain.dto.schedule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yufc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "班组排班明细")
public class ScheduleGroupScheduleDto {

    @ApiModelProperty( value = "员工排班ID", dataType = "Integer", position = 0, example = "1")
    private int id;

    @ApiModelProperty( value = "班组排班明细数据ID", dataType = "Integer", position = 0, example = "1")
    private int detailId;

    @ApiModelProperty( value = "班组ID", dataType = "Integer", position = 1, example = "1")
    private int groupId;

    @ApiModelProperty( value = "员工ID", dataType = "Integer", position = 2, example = "20002000")
    private int userSerial;

    @ApiModelProperty( value = "员工工号", dataType = "String", position = 3, example = "L0002")
    private String userNo;

    @ApiModelProperty( value = "员工姓名", dataType = "String", position = 4, example = "张三")
    private String userName;

    @ApiModelProperty( value = "员工部门", dataType = "String", position = 5, example = "生产部")
    private String depName;

    @ApiModelProperty( value = "班次ID", dataType = "Integer", position = 6, example = "1000")
    private int shiftId;

    @ApiModelProperty( value = "班次名称", dataType = "String", position = 7, example = "早班")
    private String shiftName;

    @ApiModelProperty( value = "排班日期", dataType = "Date", position = 8, example = "2020-05-10")
    private String shiftDate;

}

